﻿using System;
using System.Diagnostics.CodeAnalysis;
using Bookvar.ObjectModel.Collections;

namespace Bookvar.Web
{
    public class WssList
    {
        private bool hasTags;
        private Guid id;
        private string name;
        private TagCollection tagCollection;


        public WssList(Guid id, string name, bool hasTags)
        {
            this.id = id;
            this.name = name;
            this.hasTags = hasTags;
        }

        public bool HasTags
        {
            get { return hasTags; }
            set { hasTags = value; }
        }

        [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "Used in serialization.")]
        public TagCollection TagCollection
        {
            get { return tagCollection; }
            set { tagCollection = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public Guid Id
        {
            get { return id; }
            set { id = value; }
        }
    }
}